package com.open.capacity.form.model.scheme;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 表单模板模型-组件数据模型
 */
@Data
@JsonIgnoreProperties
public class FormCompontModel implements Serializable {
    private static final long serialVersionUID = 4497149010220586111L;

    /**
     * 组件的主键Id
     */
    private String id;

    /**
     * 显示标题
     */
    private String title;
    /**
     * 组件类型
     */
    private String type;

    /**
     * 绑定数据表
     */
    private String table;

    /**
     * 行比例
     */
    private String proportion;

    /**
     * 校验
     */
    private String verify;

    private String relation;

    private String defaultvalue;

    private String dataType;

    private String dataSource;

    private String dataSourceId;

    private String itemCode;

    private Integer isHide;

    /**
     * 高度
     */
    private String height;

    private String minheight;

    private String preloadDb;

    private String preloadTable;

    private String dfvalue;

    private String startTime;

    private String endTime;

    /**
     * 绑定的字段
     */
    private String field;

    /**
     * 编码规则
     */
    private String rulecode;

    /**
     * 数据值
     */
    private String value;

    private String dateformat;

    /**
     * 表格设置信息
     */
    private List<GridFieldModel> fieldsData;

    /**
     * 不显示字段
     */
    private List<String> hideData;
}
